<template>
  <div style="text-align: center" @click="clickHandler">
    <tm-number :value="cptData.value" v-bind="option.attribute"
               :count-up="{duration: option.attribute.speed}"></tm-number>
  </div>
</template>

<script>
import tmNumber from '@/package/components/tm-number'
import refreshMixin from '@/package/widget/mixins/refreshMixin'
export default {
  name: "cpt-num",
  mixins: [refreshMixin],
  components: {tmNumber},
  props: {
    option: Object
  }
}
</script>

